package com.pig4cloud.pigx.wallet;

import com.pig4cloud.pigx.common.customize.config.EnableRippleCommonApi;
import com.pig4cloud.pigx.common.feign.annotation.EnablePigxFeignClients;
import com.pig4cloud.pigx.common.security.annotation.EnablePigxResourceServer;
import com.pig4cloud.pigx.common.swagger.annotation.EnablePigxSwagger2;
import com.pig4cloud.pigx.system.config.EnableRippleSystemApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author pigx archetype
 * <p>
 * 项目启动类
 */
@EnablePigxSwagger2
@EnablePigxFeignClients
@EnableDiscoveryClient
@EnablePigxResourceServer
@SpringBootApplication
@EnableRippleCommonApi
@EnableScheduling
/** 邮件工具类 */
@EnableRippleSystemApi
public class WalletApplication {
    public static void main(String[] args) {
//		String proxyHost = "127.0.0.1";
//		String proxyPort = "7890";
//
//		System.setProperty("http.proxyHost", proxyHost);
//		System.setProperty("http.proxyPort", proxyPort);
//
//		// 对https也开启代理
//		System.setProperty("https.proxyHost", proxyHost);
//		System.setProperty("https.proxyPort", proxyPort);
        SpringApplication.run(WalletApplication.class, args);
    }
}
